@each $style in (normal $index-normal, top $index-top, popper $index-popper) {
    [z-#{nth($style, 1)}] {
      z-index: #{nth($style, 2)};
    }
  }